﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopArticleUserSubscribe : BaseObject
    {
        //begin
        public TopArticleUserSubscribe(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ItemCode;
        [Size(SizeAttribute.Unlimited)]
        public string ItemCode
        {
            get
            {
                return _ItemCode;
            }
            set
            {
                SetPropertyValue("ItemCode", ref _ItemCode, value);
            }
        }
        private DateTime _Deadline;
        public DateTime Deadline
        {
            get
            {
                return _Deadline;
            }
            set
            {
                SetPropertyValue("Deadline", ref _Deadline, value);
            }
        }
        //end
    }
}
